package com.itdaan.portal.business.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.itdaan.portal.business.domain.CollectionGroup;
import com.itdaan.portal.business.mapper.CollectionGroupMapper;
import com.itdaan.portal.business.service.CollectionGroupService;
import com.itdaan.portal.common.exception.ServiceException;

@Service(value = "collectionGroupService")
public class CollectionGroupServiceImpl implements CollectionGroupService {

	@Resource(name = "collectionGroupMapper")
	private CollectionGroupMapper collectionGroupMapper;
	
	@Override
	public List<CollectionGroup> findCollectionGroups(Map<String, Object> params)
			throws ServiceException {
		return collectionGroupMapper.selectList(params);
	}

}
